package com.zmzncs.lmtc.module.shop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zmzncs.lmtc.module.shop.pojo.shop_order.*;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.validation.annotation.Validated;

import java.util.Map;

/**
 * <p>
 * 商户-订单 服务类
 * </p>
 *
 * @author 高博文
 * @since 2021-05-20
 */
public interface ShopOrderService extends IService<ShopOrder> {

    /** 分页 */
    IPage<ShopOrderDTO> page(ShopOrderSearchForm form);

    /**详情*/
    ShopOrderDTO getById(Long id);

    /**查询打款信息*/
    IPage<ShopOrderDTO> getPayment(OrderPaymentForm form);

    /**查询打款银行信息*/
    Map<String,BankInfoVo> getBankInfo(OrderPaymentSelectForm form);

    /**更新打款信息*/
    void updatePayment(OrderPaymentUpdateForm form);

}
